﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Microsoft.SocialRecipes
{
    /// <summary>
    /// Hold any constants that can be used globally
    /// </summary>
    internal static class Constants
    {
        /// <summary>
        /// Name of the rendering template
        /// </summary>
        internal const string CustomRenderingTemplate = "HTML5VideoRenderingTemplate";

        /// <summary>
        /// HTML5 supported tag and attributes for video
        /// </summary>
        internal const string HTML5VideoTag = @"<video width=""{0}"" height=""{1}"" controls=""{2}"" src=""{3}"" type=""{4}"" poster=""{5}"">                                                 
                                                Your browser does not support the HTML5 video tag. 
                                               </video>";


        /// <summary>
        /// Key for the JavaScript file to be associated with the control
        /// </summary>
        internal const string AssociatedJavaScriptKey = "AssociatedJavaScriptKey";

        /// <summary>
        /// Name of the Video Url Control
        /// </summary>
        internal const string VideoUrlControlName = "txtVideoUrl";

        /// <summary>
        /// Name of the Width Control
        /// </summary>
        internal const string WidthControlName = "txtWidth";

        /// <summary>
        /// Name of the Height Control
        /// </summary>
        internal const string HeightControlName = "txtHeight";
        
        /// <summary>
        /// Name of the ContentType Control
        /// </summary>
        internal const string ContentTypeControlName = "txtContentType";

        /// <summary>
        /// Name of the AssocaitedJavascriptUrl control
        /// </summary>
        internal const string AssociatedJavaScriptUrlName = "txtAssociatedJavaScriptUrl";

        /// <summary>
        /// Name of the thumbnail url control
        /// </summary>
        internal const string ThumbnailUrlName = "txtThumbnailUrl";

        /// <summary>
        /// Name of the ShowMediaControlsOnDisplay Control
        /// </summary>
        internal const string ShowMediaControlsOnDisplayControlName = "chkShowMediaControlsOnDisplay";

    }
}
